(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{144:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return a}));var o={sm:768,md:1024,lg:1280,xl:1400},i=function(){return window.getComputedStyle(document.querySelector("body"),":before").getPropertyValue("content").replace(/"/g,"")};function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("size must be one of: ".concat(Object.keys(t).join(", ")));return window.innerWidth1&&void 0!==arguments[1]?arguments[1]:o;if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("size must be one of: ".concat(Object.keys(t).join(", ")));return window.innerWidth>=t[e]}},203:function(e,t){var n,o,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:r}catch(e){n=r}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var s,u=[],l=!1,d=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):d=-1,u.length&&v())}function v(){if(!l){var e=c(f);l=!0;for(var t=u.length;t;){for(s=u,u=[];++d1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:4;return"/mediagenerator/getqrcodeforsaxouri?saxoUri=".concat(e,"&size=").concat(t)},u=n(765),l=n(755),d=n(762),f=n(780),v=n(144);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.cssClass,o=t.target,i=t.title,r=void 0===i?"":i,a=t.type,s=t.rte,u=t.option;switch(n&&(e.cssClass=n,e.element.classList.add(e.cssClass)),a){case"html":e.removeVideoClass(),e.removeImageClass(),e.updateContentFromHtml(o);break;case"video":e.removeImageClass(),e.updateContentWithVideo(c(o));break;case"videoUrl":e.removeImageClass(),e.updateContentWithVideo(o);break;case"qrcode":e.removeImageClass(),e.updateContentWithQrCode(o,s);break;case"image":e.removeVideoClass(),e.updateContentWithImage(u);break;default:case"id":e.removeVideoClass(),e.removeImageClass(),e.updateContentFromId(o)}e.open(),e.updateTitle(r)})),this.subscribe("/lightbox/close",this.close.bind(this))}},{key:"removeSubscriptions",value:function(){this.unsubscribe("/lightbox/close"),this.unsubscribe("/lightbox/open")}},{key:"addKeyListeners",value:function(){var e=this;this.addEventListener(document,"keyup",(function(t){27===t.keyCode&&e.close()}))}},{key:"removeKeyListeners",value:function(){this.removeEventListener(document,"keyup")}},{key:"updateContentFromId",value:function(e){var t=document.getElementById(e);t&&(this.dom.content.innerHTML=t["SCRIPT"===t.nodeName?"innerHTML":"outerHTML"])}},{key:"updateContentFromHtml",value:function(e){this.dom.content.innerHTML="",this.dom.content.appendChild(e)}},{key:"updateContentWithQrCode",value:function(e,t){var n=e||window.location.href,o=t?'
'.concat(unescape(t),"
"):"",i=s(encodeURIComponent(n));this.element.classList.add(E),this.dom.content.innerHTML=o+'')}},{key:"updateContentWithVideo",value:function(e){var t=this;this.element.classList.add(O),this.dom.content.innerHTML='
\n\t\t\t\t\n\t\t\t
');var n=this.dom.content.querySelector("iframe");Object(v.c)("sm")&&n&&this.addEventListener(n,"click",(function(e){e.preventDefault(),t.enlargeIframe(n)})),n.onload=function(){t.videoObject=new i.a(t.dom.content.querySelector("iframe"),"Player"),Object(f.a)()(t.videoObject),window._gluePlayers=window._gluePlayers||[],window._gluePlayers.push(t.videoObject),t.videoObject.set("playing",!0),n.setAttribute("data-twentythree-adobe","yes")},this.adjustVideoSize(),this.addEventListener(window,"resize",Object(l.a)((function(){return t.adjustVideoSize()}),250)),n&&n.click()}},{key:"isFullScreen",value:function(){return Boolean(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement)}},{key:"enlargeIframe",value:function(e){if(!this.isFullScreen())return e.requestFullscreen?e.requestFullscreen().catch((function(e){alert("Error attempting to enable fullscreen mode: ".concat(e.message," (").concat(e.name,")"))})):e.mozRequestFullScreen?e.mozRequestFullScreen().catch((function(e){alert("Error attempting to enable fullscreen mode: ".concat(e.message," (").concat(e.name,")"))})):e.webkitRequestFullscreen?e.webkitRequestFullscreen().catch((function(e){alert("Error attempting to enable fullscreen mode: ".concat(e.message," (").concat(e.name,")"))})):void 0}},{key:"updateContentWithImage",value:function(e){this.element.classList.add(E);var t='"),this.dom.content.innerHTML=t}},{key:"adjustVideoSize",value:function(){var e=this.dom.content,t=e.firstElementChild,n=t.firstElementChild.firstElementChild;t.style.width="auto",n.offsetHeight>e.offsetHeight&&(t.style.width=e.offsetHeight*n.offsetWidth/n.offsetHeight+"px")}},{key:"removeVideoClass",value:function(){this.element.classList.remove(O)}},{key:"removeImageClass",value:function(){this.element.classList.remove(E)}},{key:"updateTitle",value:function(e){"object"===p(e)?this.dom.title.appendChild(e):this.dom.title.innerText=e}},{key:"open",value:function(){document.body.classList.add(w),Object(u.c)(u.b.mobile)&&Object(u.a)(u.b.mobile),this.addKeyListeners(),Object(a.c)({context:this.dom.content}),Object(a.b)({context:this.dom.content}),window.picturefill&&window.picturefill({elements:this.dom.content.querySelectorAll("picture img")})}},{key:"close",value:function(){var e=this;this.publish("/lighbox/after-close"),document.body.classList.remove(w),Object(u.d)(u.b.mobile),this.removeKeyListeners(),this.removeEventListener(window,"resize"),Object(a.a)({context:this.dom.content}),Object(d.a)(this.element,(function(){e.dom.content.innerHTML="",e.dom.title.innerHTML="",e.cssClass&&e.element.classList.remove(e.cssClass)}))}},{key:"cleanup",value:function(){this.removeEventListeners(),this.removeSubscriptions(),this.removeKeyListeners()}}])&&m(n.prototype,o),r&&m(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,r}(r.a)},755:function(e,t,n){"use strict";function o(e,t,n){var o;return function(){for(var i=arguments.length,r=new Array(i),a=0;a=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw a}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:250;if(!this.breakpoint){this.breakpoint=Object(a.a)(),this.publish("SITE.BREAKPOINT",this.breakpoint);var n=Object(c.a)((function(){var t=Object(a.a)();e.breakpoint!==t&&(e.publish("SITE.BREAKPOINT",t),e.breakpoint=t)}),t);window.addEventListener("resize",n)}}},{key:"addEventListener",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e&&(this.events[t]=n,e.addEventListener(t.split(".")[0],this.events[t],o))}},{key:"removeEventListener",value:function(e,t){e.removeEventListener(t.split(".")[0],this.events[t]),this.events[t]=null,delete this.events[t]}},{key:"publish",value:function(e,t){o.a.publish(e,t)}},{key:"subscribe",value:function(e,t){this.subscriptions[e]=t,o.a.subscribe(e,t)}},{key:"unsubscribe",value:function(e){o.a.unsubscribe(e,this.subscriptions[e]),this.subscriptions[e]=null,delete this.subscriptions[e]}}])&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();window.addEventListener("load",(function(){setTimeout((function(){var e=document.querySelector("#navigation");e&&e.getBoundingClientRect().bottom===scrollY&&window.scroll(0,0)}),0)})),e.on("unhandledRejection",(function(e,t){console.log("Reason for this failure is : ",e),console.log("promise is",t)}))}).call(this,n(203))},758:function(e,t,n){"use strict";function o(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function i(e){return e.replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}))}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}))},759:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o="23456789ABDEGJKMNPQRVWXYZ";function i(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,t="",n=0;n0&&void 0!==arguments[0]?arguments[0]:"transition";if(null!==i[e].endEvent)return i[e].endEvent;var t=document.createElement("fakeelement");return i[e].endEvent=Object.keys(i[e].endEventsList).reduce((function(n,o){return n||(void 0!==t.style[o]?i[e].endEventsList[o]:n)}),!1),i[e].endEvent},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"transition",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:300,a=r(n);a?Object(o.a)(e,a,t):setTimeout(t,i)}},765:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return u}));var o={ios:new RegExp("iPad|iPhone|iPod"),mobile:new RegExp("Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini")},i={},r={ios:"v2-ios-device",mobile:"v2-mobile-device"},a={ios:"ios",mobile:"mobile"};function c(e){document.documentElement.classList.add(r[e])}function s(e){document.documentElement.classList.remove(r[e])}function u(e){return e in i?i[e]:(i[e]=!!navigator.platform&&o[e]&&(o[e].test(navigator.platform)||o[e].test(navigator.userAgent)),!!navigator.platform&&o[e]&&(o[e].test(navigator.platform)||o[e].test(navigator.userAgent)))}},779:function(e,t,n){e.exports&&(e.exports=function(e,t){var n=this;n.glueframe="1.1.2";var o=(""+e.src).split("/").slice(0,3).join("/"),i=o==(""+window.location).split("/").slice(0,3).join("/")?"object":void 0!==window.postMessage?"post":"none";n.ready=!1;var r=window.setInterval((function(){this.ready||"object"!==i?this.ready||"post"!==i||n.get("bootstrapped",(function(e){e&&(n.ready=!0,window.clearInterval(r),d())}),!0):e.contentWindow[t]&&e.contentWindow[t].bootstrapped&&(n.ready=!0,window.clearInterval(r),d())}),100);n.glueFrameId=(new Date).getTime();var a=0,c={},s=function(e,t){var o=n.glueFrameId+"_"+ ++a;if("function"==typeof e)c[o]=e;else if(t)throw"GlueFrame: Callback not registered correctly.";return o},u=[],l=function(e,t){u.push({method:e,args:t})},d=function(){for(var e=0;e